﻿create table dbo.MenuButtons (
   MenuButtonId         nvarchar(50)         collate Chinese_PRC_CI_AS not null,
   FunctionId           nvarchar(10)         collate Chinese_PRC_CI_AS null,
   ControlId            nvarchar(10)         collate Chinese_PRC_CI_AS null,
   constraint PK_MenuButtons primary key (MenuButtonId)
         on "PRIMARY"
)
on "PRIMARY"
go

execute sp_addextendedproperty 'MS_Description', 
   '功能ID',
   'user', 'dbo', 'table', 'MenuButtons', 'column', 'FunctionId'
go

execute sp_addextendedproperty 'MS_Description', 
   '按钮ID',
   'user', 'dbo', 'table', 'MenuButtons', 'column', 'ControlId'
go
